<?php
<object class="trouble_remedy_droplist" name="trouble_remedy_droplist" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Trouble - Remedy</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Font">
    <property name="Color">#FFFFFF</property>
  </property>
  <property name="Height">600</property>
  <property name="IsMaster">0</property>
  <property name="Name">trouble_remedy_droplist</property>
  <property name="Width">908</property>
  <property name="OnCreate">trouble_remedy_droplistCreate</property>
  <object class="JTPlatinumGrid" name="JTRemedy" >
    <property name="AllowDelete">0</property>
    <property name="AllowInsert">0</property>
    <property name="AllowUpdate">0</property>
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="CanSelect">0</property>
    <property name="CellData">a:0:{}</property>
    <property name="Columns">a:0:{}</property>
    <property name="EvenRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="GridLines">
        <property name="Horizontal">0</property>
        <property name="Vertical">0</property>
    </property>
    <property name="Header">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
        <property name="ShowFilterBar">0</property>
        <property name="ShowGroupBar">0</property>
        <property name="SimpleFilter">0</property>
    </property>
    <property name="Height">350</property>
    <property name="Layer">Manufacturer Models</property>
    <property name="Left">455</property>
    <property name="Name">JTRemedy</property>
    <property name="OddRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Pager">
        <property name="RowsPerPage">100</property>
        <property name="ShowBottomPager">0</property>
        <property name="ShowPageInfo">0</property>
        <property name="ShowRecordCount">0</property>
        <property name="ShowTopPager">0</property>
    </property>
    <property name="RowDataStyles">a:0:{}</property>
    <property name="SelectedRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="ShowSelectColumn">0</property>
    <property name="SiteTheme"></property>
    <property name="Top">68</property>
    <property name="Width">350</property>
    <property name="OnShow">JTRemedyShow</property>
  </object>
  <object class="JTPlatinumGrid" name="JTTrouble" >
    <property name="AllowDelete">0</property>
    <property name="AllowInsert">0</property>
    <property name="AllowUpdate">0</property>
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="CanSelect">0</property>
    <property name="CellData">a:0:{}</property>
    <property name="Columns">a:0:{}</property>
    <property name="EvenRowStyle">
        <property name="Color">#FFFFFF</property>
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="GridLines">
        <property name="Horizontal">0</property>
        <property name="Vertical">0</property>
    </property>
    <property name="Header">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
        <property name="ShowFilterBar">0</property>
        <property name="ShowGroupBar">0</property>
        <property name="SimpleFilter">0</property>
    </property>
    <property name="Height">350</property>
    <property name="Layer">Manufacturer Models</property>
    <property name="Left">98</property>
    <property name="Name">JTTrouble</property>
    <property name="OddRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Pager">
        <property name="RowsPerPage">100</property>
        <property name="ShowBottomPager">0</property>
        <property name="ShowPageInfo">0</property>
        <property name="ShowRecordCount">0</property>
        <property name="ShowTopPager">0</property>
    </property>
    <property name="RowDataStyles">a:0:{}</property>
    <property name="SelectedRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="ShowSelectColumn">0</property>
    <property name="SiteTheme"></property>
    <property name="Top">68</property>
    <property name="Width">350</property>
    <property name="OnShow">JTTroubleShow</property>
  </object>
  <object class="Edit" name="editTrouble" >
    <property name="Color">#000000</property>
    <property name="Height">21</property>
    <property name="Left">98</property>
    <property name="Name">editTrouble</property>
    <property name="ParentColor">0</property>
    <property name="Top">41</property>
    <property name="Width">140</property>
  </object>
  <object class="Edit" name="editRemedy" >
    <property name="Color">#000000</property>
    <property name="Height">21</property>
    <property name="Left">455</property>
    <property name="Name">editRemedy</property>
    <property name="ParentColor">0</property>
    <property name="Top">41</property>
    <property name="Width">140</property>
  </object>
  <object class="Button" name="btnUpdateTrouble" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">314</property>
    <property name="Name">btnUpdateTrouble</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="OnClick">btnUpdateTroubleClick</property>
  </object>
  <object class="Button" name="btnAddTrouble" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Add</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">245</property>
    <property name="Name">btnAddTrouble</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="OnClick">btnAddTroubleClick</property>
  </object>
  <object class="Button" name="btnDeleteTrouble" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Delete</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">383</property>
    <property name="Name">btnDeleteTrouble</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="jsOnClick">btnDeleteTroubleJSClick</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">Trouble</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Weight">normal</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">98</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">24</property>
    <property name="Width">75</property>
  </object>
  <object class="Button" name="btnUpdateRemedy" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">671</property>
    <property name="Name">btnUpdateRemedy</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="OnClick">btnUpdateRemedyClick</property>
  </object>
  <object class="Button" name="btnAddRemedy" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Add</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">602</property>
    <property name="Name">btnAddRemedy</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="OnClick">btnAddRemedyClick</property>
  </object>
  <object class="Button" name="btnDeleteRemedy" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Delete</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">23</property>
    <property name="Left">740</property>
    <property name="Name">btnDeleteRemedy</property>
    <property name="ParentColor">0</property>
    <property name="Top">40</property>
    <property name="Width">65</property>
    <property name="jsOnClick">btnDeleteRemedyJSClick</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">Remedy</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Weight">normal</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">455</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">24</property>
    <property name="Width">75</property>
  </object>
  <object class="HiddenField" name="hfRemedy" >
    <property name="Height">18</property>
    <property name="Left">601</property>
    <property name="Name">hfRemedy</property>
    <property name="Top">8</property>
    <property name="Width">156</property>
  </object>
  <object class="JTJavaScript" name="JSDeleteTrouble" >
    <property name="Code"><![CDATA[var xmlhttp
function deleteRemedy()
{
 xmlhttp=GetXmlHttpObject();
 if (xmlhttp==null)
   {
   alert (&quot;Your browser does not support AJAX!&quot;);
   return;
   }
 if(confirm('Are you sure you want to delete this record?'))
 {
 var remedy = document.getElementById('hfRemedy').value;
 var url=&quot;deleteRemedyAjax.php&quot;;
 url=url+&quot;?remedy=&quot;+remedy;
 xmlhttp.onreadystatechange=stateChangedRem;
 xmlhttp.open(&quot;GET&quot;,url,true);
 xmlhttp.send(null);
 }
}

function deleteTrouble()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
if(confirm('Are you sure you want to delete this record?'))
{  
var trouble = document.getElementById('hfTrouble').value;
var url=&quot;deleteTroubleAjax.php&quot;;
url=url+&quot;?trouble=&quot;+trouble;
xmlhttp.onreadystatechange=stateChangedRem;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}
}

function stateChangedRem()
{
if (xmlhttp.readyState==4)
 {
  alert(&quot;Successfully deleted record!&quot;);
  document.location.href = &quot;trouble_remedy_droplist.php&quot;
 }
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">164</property>
    <property name="Name">JSDeleteTrouble</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfTrouble" >
    <property name="Height">18</property>
    <property name="Left">164</property>
    <property name="Name">hfTrouble</property>
    <property name="Top">19</property>
    <property name="Width">84</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">847</property>
        <property name="Top">88</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
